﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Multiplicative:Calculate
    {
        private string str;
        public Multiplicative(int A, int B, string Str) : base(A, B)
        {
            this.Str = str;
        }

        public string Str { get => str; set => str = value; }

        public override void DisplayResult()
        {
            base.DisplayResult();
            Console.WriteLine("两数之商为：" + (A - B));
        }
    }
}

